#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	 char *expr;
	uint32_t new_val;
	uint32_t old_val;
	/* TODO: Add more members if necessary */
	
} WP;


WP* new_wp ();
void free_wp(WP *);
int set_watchpoint(char *e);
void info_wp();
WP* scan_watchpoint();
bool delete_wp(int );
#endif
